package com.itheima.principles.test;

public class Admin {
    private Ticket ticket;

    public Admin(Ticket ticket) {
        this.ticket = ticket;
    }

    public void setTicketState(boolean state) {
        ticket.state=state;
    }
}
